<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OSS存储成本优化与自动归档策略</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', 'Noto Serif SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        .hero {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
        }
        .card {
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        .highlight {
            background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(46,149,255,0.1) 100%);
            border-left: 4px solid #2e95ff;
        }
        .dropcap::first-letter {
            float: left;
            font-size: 3.5em;
            line-height: 0.9;
            padding: 0.1em 0.15em 0 0;
            font-weight: 700;
            color: #1e3c72;
        }
        .code-block {
            background-color: #f8f9fa;
            border-radius: 4px;
            padding: 1em;
            font-family: 'Courier New', Courier, monospace;
            border-left: 3px solid #2e95ff;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -24px;
            top: 0;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #2e95ff;
            border: 3px solid white;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-4xl text-center">
            <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">OSS存储成本优化<br>与自动归档策略</h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90 max-w-3xl mx-auto">在数据爆炸时代，如何实现高效存储与成本控制的完美平衡</p>
            <div class="flex justify-center space-x-4">
                <span class="px-4 py-2 bg-white bg-opacity-20 rounded-full flex items-center">
                    <i class="fas fa-cloud mr-2"></i> 对象存储服务
                </span>
                <span class="px-4 py-2 bg-white bg-opacity-20 rounded-full flex items-center">
                    <i class="fas fa-chart-line mr-2"></i> 成本优化
                </span>
                <span class="px-4 py-2 bg-white bg-opacity-20 rounded-full flex items-center">
                    <i class="fas fa-robot mr-2"></i> 自动化策略
                </span>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <div class="container mx-auto max-w-4xl px-4 md:px-0 py-12">
        <!-- Introduction -->
        <section class="mb-16">
            <p class="dropcap text-lg md:text-xl text-gray-700 mb-8">在当今数字化浪潮中，数据量呈爆发式增长，对象存储服务（OSS）作为一种强大的数据存储解决方案，被广泛应用于各类项目。然而，随着数据规模的不断扩大，存储成本也成为了企业和开发者不得不面对的重要问题。如何在保证数据安全和可用性的前提下，实现存储成本的优化，并通过自动归档策略合理管理数据生命周期，成为了关键所在。</p>
            
            <div class="bg-blue-50 p-6 rounded-xl border border-blue-100">
                <h3 class="text-xl font-semibold text-blue-800 mb-3 flex items-center">
                    <i class="fas fa-lightbulb text-yellow-500 mr-2"></i> 关键洞察
                </h3>
                <p class="text-gray-700">通过合理选择存储类型、实施数据生命周期管理、运用压缩与去重技术，企业可降低30%-50%的存储成本，同时确保数据可用性。</p>
            </div>
        </section>

        <!-- Section 1 -->
        <section class="mb-16">
            <div class="flex items-center mb-8">
                <div class="bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center text-2xl font-bold mr-4">1</div>
                <h2 class="text-3xl font-bold text-gray-800">深入理解 OSS 存储成本构成</h2>
            </div>
            <p class="text-gray-700 mb-6">在着手优化 OSS 存储成本之前，我们必须清晰地了解其成本构成。OSS 的费用主要涵盖以下几个方面：</p>
            
            <div class="grid md:grid-cols-3 gap-6 mb-8">
                <div class="card bg-white p-6 rounded-xl">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-database"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">存储费用</h3>
                    <p class="text-gray-600">根据存储空间大小按月计费，数据量增长直接影响成本。</p>
                    <div class="mt-4 text-sm text-blue-600 font-medium">
                        <i class="fas fa-chart-pie mr-1"></i> 主要成本部分
                    </div>
                </div>
                
                <div class="card bg-white p-6 rounded-xl">
                    <div class="text-green-600 text-4xl mb-4">
                        <i class="fas fa-exchange-alt"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">流量费用</h3>
                    <p class="text-gray-600">数据读取产生的费用，访问频繁的应用需特别注意。</p>
                    <div class="mt-4 text-sm text-green-600 font-medium">
                        <i class="fas fa-play-circle mr-1"></i> 视频网站高支出
                    </div>
                </div>
                
                <div class="card bg-white p-6 rounded-xl">
                    <div class="text-purple-600 text-4xl mb-4">
                        <i class="fas fa-code"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">请求费用</h3>
                    <p class="text-gray-600">API操作产生的费用，大规模数据操作时积少成多。</p>
                    <div class="mt-4 text-sm text-purple-600 font-medium">
                        <i class="fas fa-project-diagram mr-1"></i> 大数据分析需关注
                    </div>
                </div>
            </div>

            <div class="highlight p-6 rounded-lg mb-8">
                <h3 class="text-xl font-semibold mb-3 flex items-center">
                    <i class="fas fa-exclamation-circle text-yellow-500 mr-2"></i> 成本构成示例分析
                </h3>
                <div class="mermaid">
                    pie showData
                        title OSS成本构成示例
                        "存储费用" : 65
                        "流量费用" : 25
                        "请求费用" : 10
                </div>
            </div>
        </section>

        <!-- Section 2 -->
        <section class="mb-16">
            <div class="flex items-center mb-8">
                <div class="bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center text-2xl font-bold mr-4">2</div>
                <h2 class="text-3xl font-bold text-gray-800">存储类型的精准选择与合理配置</h2>
            </div>
            <p class="text-gray-700 mb-6">OSS 通常提供多种存储类型，每种类型在性能、成本和适用场景上各有差异。根据数据的实际访问特性，精准选择合适的存储类型，是降低存储成本的关键第一步。</p>
            
            <div class="grid md:grid-cols-3 gap-6 mb-8">
                <div class="card bg-white p-6 rounded-xl border-t-4 border-blue-500">
                    <h3 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-bolt text-blue-500 mr-2"></i> 标准存储
                    </h3>
                    <p class="text-gray-600 mb-4">高可靠、高可用和高性能，适用于频繁访问的数据场景。</p>
                    <div class="flex justify-between text-sm">
                        <span class="text-blue-500 font-medium">
                            <i class="fas fa-check-circle mr-1"></i> 高性能
                        </span>
                        <span class="text-gray-500">
                            <i class="fas fa-coins mr-1"></i> 成本较高
                        </span>
                    </div>
                </div>
                
                <div class="card bg-white p-6 rounded-xl border-t-4 border-green-500">
                    <h3 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-clock text-green-500 mr-2"></i> 低频访问存储
                    </h3>
                    <p class="text-gray-600 mb-4">适用于不经常访问，但在需要时能快速实时访问数据的场景。</p>
                    <div class="flex justify-between text-sm">
                        <span class="text-green-500 font-medium">
                            <i class="fas fa-check-circle mr-1"></i> 平衡型
                        </span>
                        <span class="text-gray-500">
                            <i class="fas fa-coins mr-1"></i> 成本中等
                        </span>
                    </div>
                </div>
                
                <div class="card bg-white p-6 rounded-xl border-t-4 border-purple-500">
                    <h3 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-archive text-purple-500 mr-2"></i> 归档存储
                    </h3>
                    <p class="text-gray-600 mb-4">成本最低，适合存储很少访问的数据，访问前需解冻。</p>
                    <div class="flex justify-between text-sm">
                        <span class="text-purple-500 font-medium">
                            <i class="fas fa-check-circle mr-1"></i> 低成本
                        </span>
                        <span class="text-gray-500">
                            <i class="fas fa-clock mr-1"></i> 延迟访问
                        </span>
                    </div>
                </div>
            </div>

            <div class="bg-white p-6 rounded-xl shadow-sm mb-8">
                <h3 class="text-xl font-semibold mb-4 flex items-center">
                    <i class="fas fa-table mr-2 text-blue-500"></i> 存储类型选择指南
                </h3>
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead class="bg-gray-50">
                            <tr>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">场景</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">访问频率</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">推荐存储类型</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">成本对比</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">热门商品图片</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">每天多次</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">标准存储</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">100%</td>
                            </tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">系统日志</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">每月几次</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-green-600">低频访问</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">约40%</td>
                            </tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">历史病历</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">一年或更少</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-purple-600">归档存储</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">约20%</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>

        <!-- Section 3 -->
        <section class="mb-16">
            <div class="flex items-center mb-8">
                <div class="bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center text-2xl font-bold mr-4">3</div>
                <h2 class="text-3xl font-bold text-gray-800">构建自动化的数据生命周期管理策略</h2>
            </div>
            <p class="text-gray-700 mb-6">数据生命周期管理（DLM）是优化存储成本的核心策略之一，它涉及从数据创建、存储到最终删除的全过程管理。通过构建自动化的数据生命周期管理策略，我们可以根据数据的访问频率和存储时间，自动将数据迁移到合适的存储类型，以及在数据不再需要时自动删除，从而实现存储成本的优化。</p>
            
            <div class="relative mb-8">
                <div class="absolute left-0 h-full w-0.5 bg-gray-200 ml-6"></div>
                
                <div class="pl-12 mb-8 relative timeline-item">
                    <div class="bg-white p-6 rounded-xl shadow-sm">
                        <h3 class="text-xl font-semibold mb-3 flex items-center">
                            <i class="fas fa-tags text-blue-500 mr-2"></i> 数据分类与标签
                        </h3>
                        <p class="text-gray-600">对数据进行分类和标签，如业务数据、日志数据、备份数据等，并根据重要性、访问频率进一步细分标签。</p>
                    </div>
                </div>
                
                <div class="pl-12 mb-8 relative timeline-item">
                    <div class="bg-white p-6 rounded-xl shadow-sm">
                        <h3 class="text-xl font-semibold mb-3 flex items-center">
                            <i class="fas fa-ruler-combined text-green-500 mr-2"></i> 制定生命周期规则
                        </h3>
                        <p class="text-gray-600">基于数据分类制定规则，如高频业务数据30天后迁移到低频存储，90天后迁移到归档存储，日志数据365天后自动删除。</p>
                    </div>
                </div>
                
                <div class="pl-12 relative timeline-item">
                    <div class="bg-white p-6 rounded-xl shadow-sm">
                        <h3 class="text-xl font-semibold mb-3 flex items-center">
                            <i class="fas fa-robot text-purple-500 mr-2"></i> 自动化执行
                        </h3>
                        <p class="text-gray-600">利用OSS提供的自动化工具，如对象生命周期配置功能，自动执行数据的迁移和删除操作。</p>
                    </div>
                </div>
            </div>

            <div class="highlight p-6 rounded-lg mb-8">
                <h3 class="text-xl font-semibold mb-4 flex items-center">
                    <i class="fas fa-sitemap mr-2 text-blue-500"></i> 生命周期管理流程
                </h3>
                <div class="mermaid">
                    graph TD
                        A[数据上传] --> B{访问频率评估}
                        B -->|高频| C[标准存储]
                        B -->|中频| D[低频访问存储]
                        B -->|低频| E[归档存储]
                        C -->|30天后| D
                        D -->|90天后| E
                        E -->|1年后| F[自动删除]
                </div>
            </div>
        </section>

        <!-- Section 4 -->
        <section class="mb-16">
            <div class="flex items-center mb-8">
                <div class="bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center text-2xl font-bold mr-4">4</div>
                <h2 class="text-3xl font-bold text-gray-800">数据压缩与去重技术的巧妙运用</h2>
            </div>
            <p class="text-gray-700 mb-6">数据压缩和去重技术可以显著减少数据在 OSS 中的存储占用空间，从而降低存储成本。</p>
            
            <div class="grid md:grid-cols-2 gap-6 mb-8">
                <div class="card bg-white p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-compress-alt text-blue-500 mr-2"></i> 数据压缩
                    </h3>
                    <p class="text-gray-600 mb-4">将数据文件的大小缩小到最小的过程，通常使用算法将重复的数据或无关紧要的信息去除。</p>
                    <div class="bg-gray-50 p-4 rounded-lg code-block">
                        <code class="text-sm">
import zlib;<br>
byte[] data = "This is a sample text.".getBytes();<br>
byte[] compressedData = zlib.compress(data);<br>
System.out.println("Original data size: " + data.length + " bytes");<br>
System.out.println("Compressed data size: " + compressedData.length + " bytes");
                        </code>
                    </div>
                    <p class="text-sm text-gray-500 mt-3">使用zlib库实现数据压缩的Java示例</p>
                </div>
                
                <div class="card bg-white p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-copy text-green-500 mr-2"></i> 数据去重
                    </h3>
                    <p class="text-gray-600 mb-4">识别并消除重复的数据块，只保留一份数据副本。在大规模数据存储场景下，往往会存在大量的重复数据。</p>
                    <div class="flex items-center justify-center py-4">
                        <div class="text-center">
                            <div class="inline-block p-4 bg-green-50 rounded-full mb-2">
                                <i class="fas fa-check-circle text-green-500 text-3xl"></i>
                            </div>
                            <p class="text-sm font-medium text-gray-700">30-50%存储空间节省</p>
                        </div>
                    </div>
                    <p class="text-sm text-gray-500">通过数据去重技术，存储空间的占用量可显著减少</p>
                </div>
            </div>
        </section>

        <!-- Section 5 -->
        <section class="mb-16">
            <div class="flex items-center mb-8">
                <div class="bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center text-2xl font-bold mr-4">5</div>
                <h2 class="text-3xl font-bold text-gray-800">案例分析：某电商平台的存储成本优化实践</h2>
            </div>
            
            <div class="bg-white rounded-xl overflow-hidden shadow-sm mb-8">
                <div class="p-6">
                    <div class="flex flex-col md:flex-row md:items-center mb-6">
                        <div class="md:w-1/3 mb-4 md:mb-0">
                            <h3 class="text-xl font-semibold flex items-center">
                                <i class="fas fa-store text-blue-500 mr-2"></i> 平台背景
                            </h3>
                        </div>
                        <div class="md:w-2/3">
                            <p class="text-gray-600">该电商平台拥有海量的商品数据、用户数据以及交易记录等。随着业务的快速发展，数据量以每年 50% 的速度增长，存储成本也随之急剧上升。</p>
                        </div>
                    </div>
                    
                    <div class="flex flex-col md:flex-row md:items-center mb-6">
                        <div class="md:w-1/3 mb-4 md:mb-0">
                            <h3 class="text-xl font-semibold flex items-center">
                                <i class="fas fa-tools text-green-500 mr-2"></i> 优化策略
                            </h3>
                        </div>
                        <div class="md:w-2/3">
                            <ul class="list-disc pl-5 text-gray-600 space-y-2">
                                <li>存储类型调整：热门商品图片使用标准存储，冷门数据迁移到低频访问存储</li>
                                <li>数据生命周期管理：交易记录1年后迁移到低频存储，5年后删除</li>
                                <li>数据压缩与去重：对商品描述等文本数据进行压缩处理，启用OSS去重功能</li>
                            </ul>
                        </div>
                    </div>
                    
                    <div class="flex flex-col md:flex-row md:items-center">
                        <div class="md:w-1/3 mb-4 md:mb-0">
                            <h3 class="text-xl font-semibold flex items-center">
                                <i class="fas fa-chart-line text-purple-500 mr-2"></i> 优化效果
                            </h3>
                        </div>
                        <div class="md:w-2/3">
                            <div class="grid grid-cols-2 gap-4">
                                <div class="bg-blue-50 p-4 rounded-lg">
                                    <p class="text-2xl font-bold text-blue-600">30%</p>
                                    <p class="text-sm text-gray-600">存储成本降低</p>
                                </div>
                                <div class="bg-green-50 p-4 rounded-lg">
                                    <p class="text-2xl font-bold text-green-600">40%</p>
                                    <p class="text-sm text-gray-600">存储空间利用率提高</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="bg-indigo-50 p-6 rounded-xl">
                <h3 class="text-xl font-semibold mb-4 flex items-center">
                    <i class="fas fa-bullseye mr-2 text-indigo-500"></i> 关键成功因素
                </h3>
                <div class="grid md:grid-cols-4 gap-4">
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-2">
                            <i class="fas fa-sliders-h text-indigo-500"></i>
                        </div>
                        <p class="font-medium">精细分类</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-2">
                            <i class="fas fa-clock text-indigo-500"></i>
                        </div>
                        <p class="font-medium">时间策略</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-2">
                            <i class="fas fa-robot text-indigo-500"></i>
                        </div>
                        <p class="font-medium">自动化</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-2">
                            <i class="fas fa-chart-pie text-indigo-500"></i>
                        </div>
                        <p class="font-medium">持续监控</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- Conclusion -->
        <section class="bg-white p-8 rounded-xl shadow-sm mb-16">
            <h2 class="text-2xl font-bold text-center mb-6">总结与建议</h2>
            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h3 class="text-lg font-semibold mb-3 flex items-center text-blue-600">
                        <i class="fas fa-check-circle mr-2"></i> 成功要素
                    </h3>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-blue-400 mt-1 mr-2 text-xs"></i>
                            <span>深入了解OSS成本构成，识别关键成本驱动因素</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-blue-400 mt-1 mr-2 text-xs"></i>
                            <span>根据数据访问特性精准选择存储类型</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-blue-400 mt-1 mr-2 text-xs"></i>
                            <span>建立自动化的数据生命周期管理策略</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-blue-400 mt-1 mr-2 text-xs"></i>
                            <span>充分利用数据压缩和去重技术</span>
                        </li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-3 flex items-center text-green-600">
                        <i class="fas fa-lightbulb mr-2"></i> 实施建议
                    </h3>
                    <ul class="space-y-3 text-gray-700">
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-green-400 mt-1 mr-2 text-xs"></i>
                            <span>从业务需求出发，制定合理的分类标准</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-green-400 mt-1 mr-2 text-xs"></i>
                            <span>分阶段实施，先试点后推广</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-green-400 mt-1 mr-2 text-xs"></i>
                            <span>定期评估和优化策略，适应业务变化</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-chevron-right text-green-400 mt-1 mr-2 text-xs"></i>
                            <span>建立成本监控机制，及时发现异常</span>
                        </li>
                    </ul>
                </div>
            </div>
        </section>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-900 text-white py-8">
        <div class="container mx-auto px-4 text-center">
            <h3 class="text-xl font-semibold mb-2">技术小馆</h3>
            <a href="http://www.yuque.com/jtostring" class="text-gray-300 hover:text-white transition-colors">
                <i class="fas fa-external-link-alt mr-1"></i> http://www.yuque.com/jtostring
            </a>
            <p class="text-gray-500 text-sm mt-4">© 2023 技术小馆 | 数据存储优化专家</p>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true
            }
        });
    </script>
</body>
</html>